]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Fix xgettext comment for calendar date format
authorMarek Černocký <marek@manet.cz>
Mon, 14 Feb 2022 09:18:52 +0000 (10:18 +0100)
committerMarge Bot <marge-bot@gnome.org>
Mon, 14 Feb 2022 13:36:35 +0000 (13:36 +0000)
Gettext comments must be right next to the line with the extracted text,
otherwise they aren't included in pot/po file.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2179>

js/ui/calendar.js

index 95351781889fd657378aceda939b39c1ae8857c4..7335c92942c7adb78187d0c602d96c529f408539 100644 (file)
@@ -637,8 +637,8 @@ var Calendar = GObject.registerClass({
         // nRows here means 6 weeks + one header + one navbar
         let nRows = 8;
         while (row < nRows) {
-            // xgettext:no-javascript-format
             let button = new St.Button({
+                // xgettext:no-javascript-format
                 label: iter.toLocaleFormat(C_('date day number format', '%d')),
                 can_focus: true,
             });